<?php
session_start();
include(dirname(dirname(dirname(__FILE__)))."/functions/inc/mydb.inc.php");
include(dirname(dirname(dirname(__FILE__)))."/functions/inc/seguridad.php");

$db = new mydb();
//die($_GET["id"]."a");
if(is_numeric($_GET["id"])){
$db->rawData("UPDATE moto SET moto_comision=0.00 WHERE moto_id=".$_GET["id"]);
header("Location:/index.php?acc=".$_GET["acc"]);
}
?>
